ul {
  display: flex;
  justify-content: center;
  align-items: center;
  float: right;margin-right: 45px;
}
li {
  cursor: pointer;
  font-size: 14px;
}

a {
  display: inline-block;
  height: 38px;
  line-height: 38px;
  padding: 0 10px;
  text-align: center;
  border: .5px solid #ddd;
  border-right: none;
  color: #fff;
}
.pagination>li>a, .pagination>li>span {
  position: relative;
  float: left;
  padding: 9px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #fff;
  text-decoration: none;
  background: none ;
  border: 1px solid #ddd;
}
.pagination>li.current a {
  cursor: pointer;
  background: rgba(72,171,193,0.5);;
  color: #fff;
}
.pagination>li.disabled a {
  color: #fff;
  cursor: not-allowed;
}

li:last-child a {
  border-right: .5px solid #ddd;
}
